package entity.maintenance;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 备件单据表

 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SparePartsDocuments implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关联保养任务
     */
    private Integer taskId;

    /**
     * 主键
     */
    @TableId(value = "document_id", type = IdType.AUTO)
    private Integer documentId;

    /**
     * 领用单号
     */
    @TableField("Receipt_number")
    private String receiptNumber;

    /**
     * 领用主题
     */
    @TableField("Receive_subject")
    private String receiveSubject;

    /**
     * 仓库名称
     */
    @TableField("Warehouse_name")
    private Integer warehouseName;

    /**
     * 领用原因
     */
    @TableField("Reason_receiving")
    private String reasonReceiving;

    /**
     * 申请时间
     */
    private Date applicationTime;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 删除标识
     */
    private Integer deleteFlag;


}
